package com.yssoft.mapper.traceability;

import java.util.List;

import com.yssoft.entity.traceability.TTraceGatherAtt;

import tk.mybatis.mapper.common.Mapper;

public interface TTraceGatherAttMapper  extends Mapper<TTraceGatherAtt> {

	/**
	 * 根据溯源值查找附件
	 * @author 戈超
	 * @param id
	 * @return
	 */
	List<TTraceGatherAtt> selectByTraceGather(Integer id);

	/**
	 * 根据图片路径删除文件
	 * @param newFileUrl
	 */
	void deleteByUrl(String newFileUrl);
}